<img src="client/img/spacer.gif" style="margin:10px 0 10px 0; width:100%; height:1px; background-color:#ADB9BF; border-bottom:1px solid #E4E9EC;">
<div style="border:1px solid #C4CDD2; width:100% ">
	<div style="background-color: white; padding:5px 5px 0px 5px; width:100% ">
		<div style="border:1px solid #8CA2B1; width:100%;">
			<form name="child_list" action="index.php" enctype="multipart/form-data" method="post">
			<input name="admin" type="hidden" value="1">
			<input name="module" type="hidden" value="letters">
			<input name="mod" type="hidden" value="jobs">
			<input name="act" type="hidden" value="mod">
			<input name="parent" type="hidden" value="{$smarty.get.job_id}">
			<input name="referer" type="hidden" value="{ext->get_referer}">		
					{assign var="el_name" value="letters_subject"}
					{assign var="el_value" value=$job_data.letters_subject}
					{include file="admin/modules/letters/fields/text.tpl"}
					
					{assign var="el_name" value="letters_from"}
					{assign var="el_value" value=$job_data.letters_from}
					{include file="admin/modules/letters/fields/text.tpl"}
			
					{assign var="el_name" value="letters_title"}
					{assign var="el_value" value=$job_data.letters_title}
					{include file="admin/modules/letters/fields/text.tpl"}
			
					{assign var="el_name" value="letters_header"}
					{assign var="el_id" value="header"}
					{assign var="el_value" value=$job_data.letters_header}
					{assign var="el_height" value=100}
					{include file="admin/modules/letters/fields/docum.tpl"}
			
					{assign var="el_name" value="letters_html"}
					{assign var="el_id" value="html"}
					{assign var="el_value" value=$job_data.html}
					{assign var="el_height" value=0}
					{include file="admin/modules/letters/fields/docum.tpl"}
					
					{assign var="el_name" value="letters_footer"}
					{assign var="el_id" value="footer"}
					{assign var="el_value" value=$job_data.letters_footer}
					{assign var="el_height" value=100}
					{include file="admin/modules/letters/fields/docum.tpl"}
			
					{assign var="el_name" value="letters_unsubscribe"}
					{assign var="el_id" value="unsubscribe"}
					{assign var="el_value" value=$job_data.letters_unsubscribe}
					{assign var="el_height" value=100}
					{include file="admin/modules/letters/fields/docum.tpl"}
			
					{assign var="el_name" value="letters_text"}
					{assign var="el_value" value=$job_data.text}
					{assign var="el_height" value=300}
					{include file="admin/modules/letters/fields/textarea.tpl"}
			</form>
	</div>
	<input onClick="doSubmit('child_list'); return false;" type="button" value="{t t="Išsaugoti pakeitimus"}" class="defaultFormButton" style="margin:10px "><input onClick="doSubmit('child_list'); openCenteredOnOpenerWindow('index.php?admin=1&module=letters&mod=jobs&act=preview&job_id={$smarty.get.job_id}','email_preview',700,500,1,1); return false" type="button" value="{t t='Išsaugoti ir peržiūrėti pakeitimus'}" class="defaultFormButton" style="margin:10px; width:200px;">			
	</div>
</div>
<img src="client/img/spacer.gif" style="background-color:#DBE1E5; width:100%; height:1px; margin:0 0 20px 0" alt="0" />